<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> 
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"> 

	<h:head>
		<title>#{msgs.registrationTitle}</title>
		<link href="../08/css/styles.css" rel="stylesheet" type="text/css"/>
	</h:head>
	<body class="#{formSettings.bodyStyleClass}">
		<table border="5" align="center">
			<tr>
				<th class="title">#{msgs.registrationTitle}</th>
			</tr>
		</table>
		<h3>
			<h:outputFormat value="#{msgs.registrationText}">
				<f:param value="#{msgs.firstNamePrompt}" />
				<f:param value="#{msgs.lastNamePrompt}" />
				<f:param value="#{msgs.emailAddressPrompt}" />
			</h:outputFormat>
		</h3>
		<br/>
		<h:form>
			<fieldset>
				<legend>#{msgs.registrationTitle}</legend>
				<h:outputFormat value="#{msgs.prompt}" >
					<f:param value="#{msgs.firstNamePrompt}" />
				</h:outputFormat>
				<h:inputText value="#{person5.firstName}" />
				
				<br/>
				
				<h:outputFormat value="#{msgs.prompt}" >
					<f:param value="#{msgs.lastNamePrompt}" />
				</h:outputFormat>
				<h:inputText value="#{person5.lastName}" />
				
				<br/>
				
				<h:outputFormat value="#{msgs.prompt}" >
					<f:param value="#{msgs.emailAddressPrompt}" />
				</h:outputFormat>
				<h:inputText value="#{person5.emailAddress}" />
				
				<br/>
				
				<h:commandButton action="#{person5.doRegistration()}" value="#{msgs.buttonLabel}" />
				
			</fieldset>
			
			<br/>
			<br/>
			<div align="center">
				<h:commandButton value="#{msgs.normalFont}" actionListener="#{formSettings.setNormalSize}" immediate="true"/>
				<h:commandButton value="#{msgs.largeFont}" actionListener="#{formSettings.setLargeSize}" immediate="true"/>
			</div>
			
		</h:form>
		
		<br/>
		<br/>
		<br/>
		<br/>
		
		<font size="-3">
			<a href="http://courses.coreservlets.com/Course-Materials/">
				coreservlets.com J2EE tutorials (servlets, JSP, Struts, JSF 1.X, JSF 2.0, Ajax [with jQuery, Prototype, Scriptaculous, Dojo, Ext-JS, and Google Closure], GWT 2.0, 
				Spring, Hibernate, JPA, SOAP-based and RESTful Web Services, &amp; Java 6 Programming)
			</a>.
			<br/>
			There are also live instructor-led <a href="http://courses.coreservlets.com/">
			Training courses on the same JS22 topics (servlets, JSP, Struts, JSF 1.x, JSF 2.0, Ajax [with jQuery, Prototype, Scriptaculous, Dojo, Ext-JS, And Google Closure], GWT 2.0, 
			Spring, Hibernate, JPA, SOAP-based and RESTful Web Services, &amp; Java 6 Programming)
			</a>.
		</font>
		
		
	</body> 
</html>
